package org.abacus.platform.database.impl;

import org.abacus.platform.database.Datasource;

public class DatasourceImpl implements Datasource {

	/**
	 *
	 */
	private static final long serialVersionUID = -607928414694628718L;
	private Long id;

	private String tableName;

	private String primaryKeyName;

	private String columnName;

	private String filterColumn;

	private String filterColunValue;

	public Long getId() {
		return id;
	}

	public void setId(Long arg0) {
		id = arg0;
	}

	public String getTableName() {
		if (null != tableName) {
			tableName = tableName.toUpperCase();
		}
		return tableName;
	}

	public void setTableName(String arg0) {
		tableName = arg0;
	}

	public String getPrimaryKeyName() {
		if (null != primaryKeyName) {
			primaryKeyName = primaryKeyName.toUpperCase();
		}
		return primaryKeyName;
	}

	public void setPrimaryKeyName(String arg0) {
		primaryKeyName = arg0;
	}

	public String getColumnName() {
		if (null != columnName) {
			columnName = columnName.toUpperCase();
		}
		return columnName;
	}

	public void setColumnName(String arg0) {
		columnName = arg0;
	}

	public String getFilterColumn() {
		if (null != filterColumn) {
			filterColumn = filterColumn.toUpperCase();
		}
		return filterColumn;
	}

	public void setFilterColumn(String arg0) {
		filterColumn = arg0;
	}

	public String getFilterColumnValue() {
		return filterColunValue;
	}

	public void setFilterColumnValue(String arg0) {
		filterColunValue = arg0;
	}

}
